﻿<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
  </startup>
  <connectionStrings>
    <add name="ClientPlatform" connectionString="mongodb://localhost/ClientPlatform" />
  </connectionStrings>
  <appSettings>
    <add key="RedisServer" value="localhost" />
    <add key="clientPlatformUrl" value="http://localhost:4200" />
    <add key="httpHostUrl" value="http://localhost:10280/accountsserv" />
    <add key="httpsPort" value="443"/>
    <add key="UseHttps" value="false"/>
    <add key="AccessTokenUrl" value="http://localhost:10280/auth/token" />
    <add key="enableCors" value="true" />
    <add key="SmtpServer" value="smtp.office365.com" />
    <add key="SmtpPort" value="587" />
    <add key="SmtpUsername" value="support@sustainalytics.com" />
    <add key="SmtpPassword" value="Password99#" />
    <add key="SendEmailToQA" value="true" />
    <add key="QAEmail" value="platformsupport@sustainalytics.com" />
    <!-- Replication - Service Bus settings -->
    <add key="Microsoft.ServiceBus.ConnectionString" value="Endpoint=sb://sust-test-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=Dh/4Cq0qrOC7xOJFUYHLGJvQ6pqj4BuwjTS4HUjL6uQ=" />
    <add key="Microsoft.ServiceBus.RegionEndpoint" value="EU" />
    <add key="Microsoft.ServiceBus.TopicPath" value="test-topic" />
    <add key="Microsoft.ServiceBus.SessionId" value="Auth" />
    <add key="ClientSettingsProvider.ServiceUri" value="" />
  </appSettings>
  <system.web>
    <machineKey decryption="AES" decryptionKey="787BEDA539A6FAA20A0FC0D4AEA161E5EE8E99807A072DEEEB9353AF4D4727DD" validation="SHA1" validationKey="4301EC3E5AE7FD283BD142C195057C4808F02C83EDFFCCD692D13C5406B9046DABB1668C077DF90BA379C08F30F536FE4DA6E61AC851BDB066226587C1CAB780" />
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
      <providers>
        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
      </providers>
    </membership>
    <roleManager defaultProvider="ClientRoleProvider" enabled="true">
      <providers>
        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
      </providers>
    </roleManager>
  </system.web>
</configuration>
